package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.GiftDistribution;

import java.util.List;

@DBMapper
public interface GiftDistributionMapper {
    int deleteByPrimaryKey(Integer distributionId);

    int insert(GiftDistribution record);

    int insertSelective(GiftDistribution record);

    GiftDistribution selectByPrimaryKey(Integer distributionId);

    int updateByPrimaryKeySelective(GiftDistribution record);

    int updateByPrimaryKey(GiftDistribution record);

    List<GiftDistribution> selectByCondition(GiftDistribution record);

    List<GiftDistribution> selectListByIds(List<String> ids);
}